package com.example.travelservlet.focus.dao;

import com.example.travelservlet.entity.Focus;
import com.example.travelservlet.entity.Like;
import com.example.travelservlet.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author yxj
 * @date 2023/5/23 10:54
 */
@Mapper
public interface UserFocusMapper {

    List<String> findFocusUserByUserId(String userId);

    List<String> findFansByFocusId(String focusUserId);

    User findSome(String userId, String text);

    Integer delectFocusByIdAndFocusUserId(String userId, String focusUserId);
    User findUserById(String userId);
    Integer addFocus(Focus focus);
}
